//
//  DWLogin.swift
//  DWSwift
//
//  Created by GDL on 2025/6/20.
//

import SwiftUI
import DWCoreLib

struct DWLoginView: View {
    var body: some View {
        GeometryReader { proxy in
            VStack(spacing:0) {
                // 自定义导航栏（覆盖状态栏）
                CustomNavigationBar(
                    title: "登录",
                    leftIcon: "arrow.left",
                    bgColor: .white
                ).statusBar(color: .white)
                
                Spacer()
            }.background(Color.red)
        }
    }
}

struct DWLoginView_Previews: PreviewProvider {
    static var previews: some View {
        DWLoginView()
    }
}
